<!DOCTYPE html>
<html class="x-admin-sm">

<head>
  <meta charset="UTF-8">
  <title></title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
    content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <link rel="stylesheet" href="./css/font-awesome.css">
  <link rel="stylesheet" href="./css/xadmin.css">
  <link rel="stylesheet" href="./layui/css/layui.css">
  <link rel="stylesheet" href="./css/cate.css">

  <script src="./lib/layui/layui.all.js" charset="utf-8"></script>
  <script type="text/javascript" src="./js/xadmin.js"></script>
  <script src="./js/jquery.min.js"></script>
  <script src="./js/JQ.js"></script>
  <script src="./js/xadmin.js"></script>
  <script src="./lib/layui/lay/modules/laypage.js"></script>
  <script src="./js/cate.js"></script>
  <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>

<body>
  <div class="x-nav">
    <span class="layui-breadcrumb">
      <a href="">首页</a>
      <a href="">演示</a>
      <a>
        <cite>导航元素</cite></a>
    </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
      onclick="location.reload()" title="刷新">
      <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
  </div>
  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="tl open_sousuo" style="display: none;">打开搜索区</div>
      <div class="tl" id="close_sousuo" style="display: none;">关闭搜索区</div>
      <div id="flushed" class="tl" style="display: none;">刷新</div>
      <div class="tl" id="set_up" style="display: none;">
        <ul>
          <li><i class="layui-icon layui-icon-heart-fill"></i> <input type="checkbox" name="q" id="" checked>
            <div>分类ID</div>
          </li>
          <li><i class="layui-icon layui-icon-heart-fill"></i> <input type="checkbox" name="q" id="" checked>
            <div>分类名称</div>
          </li>
          <li><i class="layui-icon layui-icon-heart-fill"></i> <input type="checkbox" name="q" id="" checked>
            <div>图标</div>
          </li>
          <li><i class="layui-icon layui-icon-heart-fill"></i> <input type="checkbox" name="q" id="" checked>
            <div>权重</div>
          </li>
        </ul>
      </div>
      <!-- 头部导航区域 -->
      <form class="layui-form" action="" id="layuiForm">
        <div class="layui-form-item ">
          <label class="layui-form-label">分类名称</label>
          <div class="layui-input-block layuiIpt">
            <input type="text" name="title" required lay-verify="required" placeholder="请输入分类名称" autocomplete="off"
              class="layui-input">
          </div>

        </div>
        <div class="layui-form-item layuiBtn">
          <div class="layui-input-block">
            <button class="layui-btn layui-btn layui-btn-normal" lay-submit lay-filter="formDemo"><i
                class="layui-icon layui-icon-search"></i>
              搜索</button>
            <button type="reset" class="layui-btn layui-btn-primary" id="chongzhi"><i
                class="layui-icon layui-icon-refresh"></i>
              重置</button>
          </div>
        </div>
      </form>
      <!-- 新增刷新按钮 -->
      <div class="content">
        <div class="layui-btn-container">
          <div>
            <button type="button" class="layui-btn layui-btn-primary layui-border-blue"><i     
                class="layui-icon layui-icon-add-1" id="add"></i> 新增</button>
            <button type="button" class="layui-btn layui-btn-primary layui-border-orange"><i     
                class="layui-icon layui-icon-download-circle" id="btnExports"></i>导出</button>
          </div>
          <ul class="function_button">
            <li id="close">
              <i class="layui-icon layui-icon-up"></i>
            </li>
            <li style="display: none;" id="open">
              <i class=" layui-icon layui-icon-down"></i>
            </li>
            <li id="shuaxin">
              <i class=" layui-icon layui-icon-refresh"></i>
            </li>
            <li id="menu"><i class="layui-icon layui-icon-app"></i></li>
          </ul>
        </div>
      </div>
      <!-- 数据渲染 -->
      <table class="layui-table" id="adTable">
        <colgroup>
          <col width="150">
          <col width="200">
          <col>
        </colgroup>
        <thead>
          <tr>
            <th>#</th>
            <th>分类ID</th>
            <th>分类名称</th>
            <th>图标</th>
            <th>权重</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          <!-- <tr>
            <td>1</td>
            <td>3</td>
            <td>时政</td>
            <td>fa-university<i class="layui-icon layui-icon-face-smile"></i></td>
            <td>13</td>
            <td>
              <ul>
                <li>
                  <i class="layui-icon layui-icon-face-smile"></i>
                </li>
                </li>
                  <i class="layui-icon layui-icon-face-smile"></i>
                <li>
              </ul>
            </td>
          </tr> -->

        </tbody>
      </table>

      <!-- 存放分页器 -->
      <div id="page-box"></div>
    </div>
  </div>
</body>
<!-- 新增弹出框 -->
<script type="text/html" id="dialog-edit">
  <form class="layui-form" action="" id="dialog-add" layer-filter="formEdit">
    <div class="layui-form-item">
      <label class="layui-form-label">分类名称</label>
      <div class="layui-input-block">
        <input type="text" id="f" name="catename" required  lay-verify="required" placeholder="请输入分类名称" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">图标class</label>
      <div class="layui-input-block tubiao">
        <input type="text" id="s" name="icon" required  lay-verify="required" placeholder="请输入class名" autocomplete="off" class="layui-input">  
        <a href="javascript:;">具体参见fontawesome图标库</a>
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">排序大小</label>
      <div class="layui-input-block jia">
        <button type="button" id="left" class="layui-btn layui-btn layui-btn-primary">
          <i class="layui-icon layui-icon-addition"></i>
        </button><input type="text" id="addBtn" value="10" name="sort_num" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input"><button type="button" id="right" class="layui-btn layui-btn layui-btn-primary">
          <i class="layui-icon layui-icon-subtraction"></i>
        </button>
        
       
      </div>
    
    
   <div class="btn">
    <button type="button" class="layui-btn layui-btn layui-btn-primary">取消</button>
    <button type="submit" class="layui-btn layui-btn layui-btn-normal">确认</button>
   </div>
  </form>
</script>


<!-- 修改弹出框 -->
<script type="text/html" id="dialog-gai">

  <form class="layui-form" action="" id="gai-add" layer-filter="formEdit">
    
    <div class="layui-form-item">
      <label class="layui-form-label">分类名称</label>
      <div class="layui-input-block">
        <input type="text" id="gai-name" name="catename" required  lay-verify="required" placeholder="请输入分类名称" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">图标class</label>
      <div class="layui-input-block tubiao">
        <input type="text" id="gai-icon" name="icon" required  lay-verify="required" placeholder="请输入class名" autocomplete="off" class="layui-input">  
        <a href="javascript:;">具体参见fontawesome图标库</a>
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">排序大小</label>
      <div class="layui-input-block jia">
        <button type="button" id="left" class="layui-btn layui-btn layui-btn-primary">
          <i class="layui-icon layui-icon-addition"></i>
        </button><input type="text" id="gai-add" value="10" name="sort_num" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input"><button type="button" id="right" class="layui-btn layui-btn layui-btn-primary">
          <i class="layui-icon layui-icon-subtraction"></i>
        </button>
        
       
      </div>
    
    
   <div class="btn">
    <button type="button" class="layui-btn layui-btn layui-btn-primary">取消</button>
    <button type="submit" class="layui-btn layui-btn layui-btn-normal">确认</button>
   </div>
  </form>
</script>




</html>